package launchramp

class Sponsor {
    
    String firstName
    String lastName
    int creditCard
    int secCode
    Date expDate
    
    static constraints = {
        firstName matches: /^[a-z ,.'-]+$/
        lastName matches: /^[a-z ,.'-]+$/
        creditCard creditCard: true
        secCode matches: /\d{3}/
    }
}
